| Drawing a Label Control 1. Select a label control in the toolbox by clicking once on the control. 2. Draw the label on the form near the top-left corner. 3. Change the Name property to lblLabel. 4. Change the Caption property to First Name. 5. Now add the rest of the labels as shown in Figure 3.3. 6. Make the Name property on each label control lblLabel. Youll be prompted to specify whether you want to create a control array. Answer yes to this prompt. |
| |
| |
|
|
|
|
Figure 3.3
The Employee Information form with label controls. |
|
|
|
|
 | Label controls are used to place words onto a form. They will not typically be used to respond to events. This is why you dont need individual names for each label you place on a form. |
| Examples Filename: Employee1.frm |